<div class="modal-body">
    <div class="alert alert-info">系统用户基本信息</div>
    <form class="form-horizontal" method="post" novalidate>
        <div class="form-group">
            <label class="col-md-2 control-label" for="name">姓名：</label>
            <div class="col-md-4">
                <input id="name" name="name" type="text"
                       class="form-control" autocomplete="off"
                       ng-model="sysUser.name" ng-maxlength="20" maxlength="20"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="roleId">所属角色：</label>
            <div class="col-md-4">
                <select id="roleId" name="roleId" class="form-control"
                        ng-model="sysUser.roleId"
                        ng-options="item.code as item.name for item in roles"></select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="account">登录帐号：</label>
            <div class="col-md-4">
                <input id="account" name="account" type="text"
                       class="form-control" autocomplete="off"
                       ng-model="sysUser.account" ng-maxlength="20" maxlength="20"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="password">登录密码：</label>
            <div class="col-md-4">
                <input id="password" name="password" type="password"
                       class="form-control" autocomplete="off"
                       ng-model="sysUser.password" ng-maxlength="30" maxlength="30"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="password">排序：</label>
            <div class="col-md-4">
                <input id="orderId" name="orderId" type="text"
                       class="form-control" autocomplete="off"
                       ng-model="sysUser.orderId" ng-maxlength="5" maxlength="5"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="note">备注：</label>
            <div class="col-md-4">
                <textarea id="note" name="note" rows="3"
                          class="form-control" autocomplete="off"
                          ng-model="sysUser.note" ng-maxlength="100" maxlength="100"/>
            </div>
        </div>
    </form>
</div>
<div class="modal-footer">
    <button type="submit" class="btn btn-primary" ng-click="submit()">保存</button>
    <button class="btn btn-default" ng-click="cancel()">取消</button>
</div>